<div class="yuSuo clearfix" style="float:left;">
    <form id="searchFrom">
        <input id="status" name="status" type="hidden" value="{$params.status}"/>
        <!--<input type="text" id="start_time" name="start_time" value="{$params.start_time}" placeholder="预约时间" readonly /><em></em>-->
        <!--<input type="text" id="end_time" name="end_time" value="{$params.end_time}" placeholder="预约时间" readonly />-->
        <input type="text" name="order_no" value="{$params.order_no}"  placeholder="拍卖单号"  class="suoDian suoDian1">
        <input type="button" onclick="search();" value="搜索" class="suoSou" style="width:80px;">
    </form>
</div>
<table class="table table-bordered">
    <thead>
        <tr>
            <th>拍卖单号</th>
            <th>车型</th>
            <th>车主姓名</th>
            <th>车主电话</th>
            <if condition="($params['status'] eq 5) OR ($params['status'] eq 7) "><th>提交时间</th></if>
            <if condition="($params['status'] eq 4) OR ($params['status'] eq 6) "><th>签约时间</th></if>
            <?php if($params['auth']):?>
            <th>交付顾问</th>
            <?php endif;?>
            <th>业务状态</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody> 
    <volist name="list" id="vo" key="k">
        <tr>
            <td>{$vo.order_no}</td>
            <td><a href="/Car/report/car_id/{$vo.car_id}" target="_blank">{$vo.model}</a></td>
            <td>{$vo.seller_name}</td>
            <td>{$vo.phone}</td>
            <if condition="($params['status'] eq 5) OR ($params['status'] eq 7) "><td>{$vo.last_time}</td></if>
            <if condition="($params['status'] eq 4) OR ($params['status'] eq 6) "><td>{$vo.sign_date}</td></if>
            <?php if($params['auth']):?>
            <td>{$vo.deliver_name}</td>
            <?php endif;?>
            <?php if($params['status']==5 || $params['status']==7): ?>
            <td>签约失败</td>
            <?php elseif($params['status']==4 || $params['status']==6): ?>
            <td>待付首款</td>
            <?php endif;?>
            <td>
                <?php if($params['status']==4):?>
                <a href="javascript:sendMsg({$vo.order_id})">发送</a>
                <?php endif;?>
                <a href="/Sign/signature?id={$vo.order_id}&status={$params.status}"><?php echo ($params['business_status']==11 || $params['business_status']==12) ? '签约':'查看';?></a>
            </td>
        </tr>
    </volist>
    </tbody>
</table>    